<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>作业2</title>
	<script>
		   var sum=0;
		   var num=0;
		   for(var i = 1;i<=100;i++){
		   	    if (i%3!==0) {
                    sum+=i;
                    console.log(i);
		   	    }
		   }
		   console.log(sum);
	</script>
</head>
<body>
	
</body>
</html>